﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Xml;

namespace iLangl.Tests.Communication
{
	[TestClass]
	public class XmlFormatFixtureTest
	{
		[TestMethod]
		public void XmlFormatFixture()
		{
			string test = @"<Root><Actions><Action><Id>1bf87826-9118-45c0-bd0a-f7466cf50d91</Id><Name>GetLanguages</Name><Version>1</Version></Action></Actions></Root>";

			XmlDocument document = new XmlDocument();

			document.LoadXml(test);
			//XmlNamespaceManager xnm = new XmlNamespaceManager(document.NameTable);
			//xnm.AddNamespace("xmlns", Constants.NameSpace);

			XmlNode node = document.SelectSingleNode("Root");//, xnm);
		}
	}
}
